<?php
require_once '../inc/config.php';
require_once '../inc/connexion.php';

$id = isset($_GET['id']) ? $_GET['id'] : "";
$sql = "DELETE FROM contacts  where id = $id";
$envoi_requete = mysqli_query($connexion_serveur, $sql) or die('Erreur SQL !<br />'.$sql.'<br />'.mysql_error());;
echo '';
echo '';
echo "<a href='../contacts/liste_contacts.php'>-------Contact numero .$id. supprime-------|-------Retour a la liste'>-------</a>";

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

